using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Collections;

namespace Quanly_dethi.Class
{
    class csB_DapanCH
    {
        private csC_DapanCH x;

        public csC_DapanCH X
        {
            get { return x; }
            set { x = value; }
        }
        public csB_DapanCH()
        {
            x = new csC_DapanCH();
        }
        public csB_DapanCH(string servername, string user, string pass, string dbname)
        {
            x = new csC_DapanCH(servername, user, pass, dbname);
        }
        public DataTable Select()
        {
            return x.Sellect();
        }
        public DataTable Select(int ma)
        {
            return x.Sellect(ma);
        }
       
        public void Insert(int mach, string noidung, int dapandung, string noidung2, int dapan2, string noidung3, int dapan3, string noidung4, int dapan4)
        {
            this.x.insert(mach, noidung, dapandung, noidung2, dapan2, noidung3, dapan3, noidung4, dapan4);
        }
        public void Suadapan(int mach, int ma1, int ma2, int ma3, int ma4, string noidung, int dapandung, string noidung2, int dapan2, string noidung3, int dapan3, string noidung4, int dapan4)
        {
            this.x.suadapan(mach, noidung,ma1,ma2,ma3,ma4, dapandung, noidung2, dapan2, noidung3, dapan3, noidung4, dapan4);
        }
        
    }
}
